package com.edu.buservice.biz.model.Request;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * @program: KQAIA
 * @description:
 * @author: 无恙
 * @create: 2025-04-17 16:10
 **/

@AllArgsConstructor
@Data
@NoArgsConstructor
public class UpdateUserRequest {

	@Length(max = 20, message = "用户名不能超过20个字符")
	private String userName;


	private String password;


	private String phone;

	@Email(message = "邮箱格式不正确")
	private String email;

	private String avatarUrl;
}
